package cn.shyouchi.wuguanjia.android.ui.event.temporary;

import java.util.List;

import cn.shyouchi.wuguanjia.android.base.BasePresenter;
import cn.shyouchi.wuguanjia.android.base.BaseView;

/**
 * Created by Eenie on 2016/11/17 at 10:11
 * Email: 472279981@qq.com
 * Des:
 */

public interface TemporaryContract {


    interface View extends BaseView {
        void onTemporaryRefresh(List<TemporaryEntity.ResultMessageBean> resultMessageBeanList);

        void onItemClick(TemporaryEntity.ResultMessageBean resultMessageBean);

        void onDelClick(TemporaryEntity.ResultMessageBean resultMessageBean);
    }

    interface Presenter extends BasePresenter<View> {

        void getTemporaryList(String projectId);

        void delTemporary(String projectId, String id);

        void addTemporary(String projectId, String id);

    }

}
